{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% block page_title %}添加任务{% endblock %}
{% block page_css %}
<link href="{{ url_for('static',filename='css/add_task.css') }}" rel="stylesheet">
{% endblock %}

{% block page_content %}
<div class="container">
    <form action="" method="post" class="form" role="form">
        <fieldset>
            {{ form.csrf_token }}
            <div class="form-group col-md-12  required"><label class="control-label" for="taskName">任务名称</label>
                <input class="form-control" id="taskName" name="taskName" required type="text" value="">
            </div>
            <div class="form-group col-md-12 required"><label class="control-label" for="taskDescription">任务描述</label>
                <textarea class="form-control" id="taskDescription" name="taskDescription"></textarea>
            </div>
            <div class="form-group col-md-12 required"><label class="control-label" for="taskDeadLine">截止时间</label><p>时间格式:2017-03-20 12:30:40</p>
                <input class="form-control" id="taskDeadLine" name="taskDeadLine" type="text" value="">
            </div>
            <div class="form-group col-md-12">
                <input class="btn btn-info pull-right" id="submit" name="submit" type="submit" value="添加">
            </div>
        </fieldset>
    </form>
</div>
{% endblock %}